package com.nick.order.feign;

import org.springframework.stereotype.Component;

/**
 * @ClassName: FallbackServiceClient
 * @Descpriction: 客户端熔断兜底
 * @author: zhangchao
 * @date: 2020/4/28 16:37
 * @version: 1.0
 */
@Component
public class PayFeignFallback implements PayFeign {
    @Override
    public String pay() {
        return "异常或服务挂掉，熔断兜底...";
    }
}
